package com.jinmdz.fmis.api.admin.model.accountuser;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 帐号用户加载信息
 *
 * @author LiCongLu
 * @date 2020-03-17 09:51
 */
@ApiModel(value = "帐号用户加载信息", description = "帐号用户加载信息")
public class AccountUserLoadData extends BaseBean {
    /**
     * 帐号用户
     */
    @AnValidate(name = "帐号用户")
    @ApiModelProperty(value = "帐号用户", name = "accountUser", position = 1)
    private AccountUserSaveData accountUser;

    /**
     * 字典数据
     */
    @AnValidate(name = "字典数据")
    @ApiModelProperty(value = "字典数据", name = "dicts", position = 2)
    private HashMap<String, ArrayList<DataDictionaryItem>> dicts;

    /**
     * 组织机构
     */
    @AnValidate(name = "组织机构")
    @ApiModelProperty(value = "组织机构", name = "organizations", position = 3)
    private ArrayList<AccountUserOrganizationItem> organizations;

    public AccountUserSaveData getAccountUser() {
        return accountUser;
    }

    public AccountUserLoadData setAccountUser(AccountUserSaveData accountUser) {
        this.accountUser = accountUser;
        return this;
    }

    public HashMap<String, ArrayList<DataDictionaryItem>> getDicts() {
        return dicts;
    }

    public AccountUserLoadData setDicts(HashMap<String, ArrayList<DataDictionaryItem>> dicts) {
        this.dicts = dicts;
        return this;
    }

    public ArrayList<AccountUserOrganizationItem> getOrganizations() {
        return organizations;
    }

    public AccountUserLoadData setOrganizations(ArrayList<AccountUserOrganizationItem> organizations) {
        this.organizations = organizations;
        return this;
    }
}
